import TabsView from "@/layouts/tabs/TabsView";
import BlankView from "@/layouts/BlankView";
/* eslint-disable */
// 路由配置
const options = {
	routes: [
		{
			path: "/login",
			name: "登录页",
			meta: {
				icon: "home",
			},
			component: () => import("@/pages/login"),
		},
		// {
		//   path: "*",
		//   name: "404",
		//   component: () => import("@/pages/exception/404")
		// },
		{
			path: "/403",
			name: "403",
			component: () => import("@/pages/exception/403"),
		},
		{
			path: "/",
			component: TabsView,
			redirect: "/login",
			children: [
				{
					path: "home",
					name: "首页",
					meta: {
						icon: "home",
					},
					component: () => import("@/pages/home/Home"),
				},
				{
					path: "car-team/system-qiankun",
					name: "系统管理",
					component: BlankView,
					meta: {
						icon: "icon-a-shezhi",
					},
					children: [
						{
							name: "组织权限",
							meta: {
								page: {
									cacheAble: true,
								},
							},
							path: "departmentManage-qiankun",
							component: () => import("@/pages/systemManage/userCenter/tabs"),
						},
						{
							name: "组织人员",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "departmentManage-personnel-qiankun",
							component: () => import("@/pages/systemManage/userCenter/personnelManage/personnel"),
						},
						{
							name: "组织身份-管理人员",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "departmentManage-personnel-inner-qiankun",
							component: () => import("@/pages/systemManage/userCenter/personnelManage/personnel"),
						},
						{
							name: "组织身份",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "departmentManage-role-qiankun",
							component: () => import("@/pages/systemManage/userCenter/roleManage/role"),
						},
						{
							name: "组织管理移除列表",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "departmentManage-orgRemoveRecordList-qiankun",
							component: () => import("@/pages/systemManage/userCenter/recordList/recordList"),
						},
						{
							name: "组织人员邀请记录",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "departmentManage-inviteRecordList-qiankun",
							component: () => import("@/pages/systemManage/userCenter/recordList/recordList"),
						},
						{
							name: "组织人员移除列表",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "departmentManage-organizerRemoveRecordList-qiankun",
							component: () => import("@/pages/systemManage/userCenter/recordList/recordList"),
						},
						{
							name: "组织身份-管理人员-移除列表",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "departmentManage-organizerRemoveRecordList-inner-qiankun",
							component: () => import("@/pages/systemManage/userCenter/recordList/recordList"),
						},
						{
							name: "组织身份移除列表",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "departmentManage-identityRemoveRecordList-qiankun",
							component: () => import("@/pages/systemManage/userCenter/recordList/recordList"),
						},
						{
							name: "资源配置",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "departmentManage-resourceConfig-qiankun",
							component: () => import("@/pages/systemManage/userCenter/resourceConfig/index"),
						},
						{
							name: "个人信息管理",
							meta: {
								page: {
									cacheAble: false,
								},
							},
							path: "personelInfoManage-qiankun",
							component: () => import("@/pages/systemManage/userCenter/personelInfo/index.vue"),
						},
						// {
						//   name: '业务线管理',
						//   path: 'linesBusiness-qiankun',
						//   component: () => import("@/pages/lines-business/index")
						// },
						// {
						// 	name: "业务审批",
						// 	path: "/home/uncheckedflow",
						// 	component: () => import("@/pages/my/index"),
						// },
					],
				},
				// {
				// 	path: "configManage/car-team/map-qiankun",
				// 	name: "地图管理",
				// 	component: BlankView,
				// 	meta: {
				// 		icon: "icon-a-shezhi",
				// 	},
				// 	children: [
				// 		{
				// 			path: "fence",
				// 			name: "电子围栏",
				// 			component: () => import("../pages/transportMonitor/fence/index"),
				// 		}
				// 	]
				// },
				// {
				// 	path: "equipment/car-team/map-qiankun",
				// 	name: "地图管理",
				// 	component: BlankView,
				// 	meta: {
				// 		icon: "icon-a-shezhi",
				// 	},
				// 	children: [
				// 		{
				// 			path: "track",
				// 			name: "轨迹回放",
				// 			component: () => import("../pages/transportMonitor/trackPlayback/trackPlayback"),
				// 		},
				// 	]
				// },
				// {
				// 	path: "monitoring/realtime/detail/car-team/map-qiankun",
				// 	name: "地图管理",
				// 	component: BlankView,
				// 	meta: {
				// 		icon: "icon-a-shezhi",
				// 	},
				// 	children: [
				// 		{
				// 			path: "realTimeTrack",
				// 			name: "轨迹回放",
				// 			component: () => import("../pages/transportMonitor/realTimeTrack/index"),
				// 		},
				// 	]
				// },
				// {
				// 	path: "futurePower/batterySystem/operating/car-team/",
				// 	name: "运行监控",
				// 	component: BlankView,
				// 	meta: {
				// 		icon: "icon-a-shezhi",
				// 	},
				// 	children: [
				// 		{
				// 			path: "carconfig",
				// 			name: "运行监控",
				// 			component: () => import("../pages/fuelCell/index"),
				// 		},
				// 	]
				// },
				// {
				// 	name: "对齐视图",
				// 	meta: {
				// 		page: {
				// 			cacheAble: true,
				// 		},
				// 		invisible: true,
				// 	},
				// 	path: "car-team/okrTree-qiankun",
				// 	component: () => import("@/pages/okr/OkrTree.vue"),
				// }
			],
		},
	],
};

export default options;
